home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- if not exist c:\windows\command\*.* nocmd.bat
- if not exist c:\windows\command\*.* goto :end
- if not %windir%==C:\WINDOWS goto :Not Right
- if not exist c:\windows\system.dat goto :Not Right
- if not exist c:\windows\user.dat goto :Not Right
-
- if not exist c:\windows\command\attrib.exe goto :filechek
- if not exist c:\windows\command\deltree.exe goto :filechek
- if not exist c:\windows\command\xcopy.exe goto :filechek
- if not exist c:\windows\command\start.exe goto :filechek
- if not exist c:\windows\command\choice.com goto :filechek
- if not exist c:\windows\regedit.exe goto :filechek
- if not exist c:\windows\notepad.exe goto :filechek
- if not exist c:\windows\write.exe goto :filechek
- goto :Proceed
-
- :filechek
- echo.
- echo.
- echo ╔════════════════════════════════════════════════════════════╗
- echo ║ *** INSTALLATION ALERT *** ║
- echo ║ Setup has detected that there are some missing files from ║
- echo ║ your windows installation. The Test-Run program relies on ║
- echo ║ those files to be able to operate safely, and it is vital ║
- echo ║ that they have been correctly installed with Windows. The ║
- echo ║ list of essential files used by Test-Run program is given ║
- echo ║ below. Installation has been aborted. No change has been ║
- echo ║ made to your computer. ║
- echo ║ ┌────────────────────────────────────────────────────────┐ ║
- echo ║ │ ONE OR MORE OF THE FILES LISTED BELOW IS MISSING! │ ║
- echo ║ │ │ ║
- echo ║ │ C:\WINDOWS\COMMAND\..ATTRIB.EXE, START.EXE, XCOPY.EXE,│ ║
- echo ║ │ DELTREE.EXE, CHOICE.COM.│ ║
- echo ║ │ C:\WINDOWS\.......REGEDIT.EXE, NOTEPAD.EXE, WRITE.EXE.│ ║
- echo ║ └────────────────────────────────────────────────────────┘ ║
- echo ╚════════════════════════════════════════════════════════════╝
- echo.
- echo.
- echo.
- pause
- goto :end
-
- :Not Right
- start /max Notright.bat
- exit
-
- :Proceed
- if exist c:\windows\command\TR-by-BB\nul deltree /y c:\windows\command\TR-by-BB
- md c:\windows\command\"TR-by-BB"
- md c:\windows\command\"TR-by-BB\Start Menu"
- if exist "c:\windows\start menu\programs\Test-Run by BB"\nul deltree /y "c:\windows\start menu\programs\Test-Run by BB"
- md "c:\windows\start menu\programs\Test-Run by BB"
- if exist "c:\windows\desktop\Test-Run by BB.lnk" del "c:\windows\desktop\Test-Run by BB.lnk"
- cls
- echo.
- echo ╔════════════════════════════════════════════════════════════╗
- echo ║ NOW LOADING FILES - PLEASE WAIT ║
- echo ╚════════════════════════════════════════════════════════════╝
- echo.
- xcopy tr\*.* c:\windows\command\"TR-by-BB" /s/q
- xcopy cmd\*.* c:\windows\command /q
- xcopy "Strt Men"\*.* "c:\windows\start menu\programs\Test-Run by BB" /q
- xcopy "Strt Men"\*.* "c:\windows\command\TR-by-BB\Start Menu" /q
- xcopy dsktop\*.* c:\windows\desktop /q
- attrib c:\windows\command\TR-by-BB\Info.wri +r
- attrib c:\windows\command\TR-by-BB\Readme.txt +r
- attrib c:\windows\command\TR-by-BB\Shortcut.txt +r
- attrib c:\windows\command\TR-by-BB\on.txt +r
- attrib c:\windows\command\TR-by-BB\off.txt +r
- attrib c:\windows\command\TR-by-BB\Fixshort.txt +r
-
- :exit
- cls
- echo.
- echo.
- echo.
- echo.
- echo ╔════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ Installation of TEST-RUN by BB is complete. ║
- echo ║ ║
- echo ║ Thank you for participating. Regards... Bernie Madigan(BB) ║
- echo ║ ║
- echo ╚════════════════════════════════════════════════════════════╝
- echo.
- echo.
- choice . Do you want to read TEST-RUN Info now
- if errorlevel 2 goto :cleanit
- if errorlevel 1 start /max write c:\windows\command\TR-by-BB\Info.wri
-
- :cleanit
- del ..\setup.pif
- deltree /y ..\Control
- exit
-
- :end
- exit